package com.foruo.code.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * 数据库模型
 * @author GaoYuan
 * @datetime 2018/3/9 上午10:59
 */
public class DataBaseModel {

    /** 数据库名称 */
    private String dbName;
    /** 数据库描述 */
    private String dbDesc;

    public List<TableModel> tableModelList = new ArrayList<>();


    public String getDbName() {
        return dbName;
    }

    public void setDbName(String dbName) {
        this.dbName = dbName;
    }

    public String getDbDesc() {
        return dbDesc;
    }

    public void setDbDesc(String dbDesc) {
        this.dbDesc = dbDesc;
    }

    public List<TableModel> getTableModelList() {
        return tableModelList;
    }

    public void setTableModelList(List<TableModel> tableModelList) {
        this.tableModelList = tableModelList;
    }

    @Override
    public String toString() {
        return "DataBaseModel{" +
                "dbName='" + dbName + '\'' +
                ", dbDesc='" + dbDesc + '\'' +
                ", tableModelList=" + tableModelList +
                '}';
    }
}
